<? 

foreach($begivenhed_top as $b) {

    echo "<h3 class='ink'>".anchor("almanak/side/".$b->id,"<span class='rubrik' style='float:right;font-weight:bold;'>".$b->id."</span>".$b->navn,"class='ink'")."</h3>";
    echo "<ul class='ink leaders'>";
    foreach($b_lvl1 as $l) {

        if($b->navn == $l['top_navn'])  {
            foreach($l['under'] as $u) {
				if(in_array($u['under_id'],$seEle)) {
					echo "<li ><span>".anchor("almanak/side/".$u['under_id'],$u['navn'],"class='ink'")."</span><span class='ink'><b class='rubrik'>".$u['under_id']."</b></span></li>";
					}
				}
        }

    }
    echo "</ul>";

}


 ?>
